#ifndef __AUDIT_LIST_H__
#define __AUDIT_LIST_H__

#include "../../include/list_head.h"
#include "../../include/mac_label.h"

#define MAX_AUDIT_LIST_COUNT (1000)

typedef struct __AUDIT_ITEM
{
	LIST_HEAD head;
	ADT_COMMON * msg;
}AUDIT_ITEM;

int audit_list_module_init(void);
void audit_list_module_destroy(void);
AUDIT_ITEM * audit_list_shift(void);
int audit_list_unshift(AUDIT_ITEM * item);
int audit_list_insert(AUDIT_ITEM * item);
int read_audit(char * outBuffer, unsigned int len, unsigned int * pOutLen);

int audit_list_push_file_operation(const char * fileName, int opType, int uid);

#endif

